package com.shop.cereshop.commons.domain.business;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 商家经营建议实体类
 */
@Data
@TableName("cere_business_advice")
@ApiModel(value = "CereBusinessAdvice", description = "商家经营建议实体类")
public class CereBusinessAdvice {
    /**
     * 经营建议主键ID
     */
    @TableId(value = "advice_id", type = IdType.AUTO)
    @ApiModelProperty(value = "经营建议主键ID")
    private Long adviceId;

    /**
     * 建议内容
     */
    @ApiModelProperty(value = "建议内容")
    private String adviceContent;

    /***
     * 建议标题
     */
    @ApiModelProperty(value = "建议标题")
    private String adviceName;

    /**
     * 建议类型(1-通知，2-公告)
     */
    @ApiModelProperty(value = "建议类型(1-通知，2-公告)")
    private Integer adviceType;
    /**
     * 优先级 1-低，2-中，3-高
     */
    @ApiModelProperty(value = "优先级 1-低，2-中，3-高")
    private Integer priority;

    /**
     * 计划完成时间
     */
    @ApiModelProperty(value = "计划完成时间")
    private LocalDate planFinishedTime;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remarks;

    /**
     * 记录创建时间
     */
    @ApiModelProperty(value = "记录创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
}